package com.jc.subject.domin.convert;


import com.jc.subject.domin.entity.SubjectAnswerBO;
import com.jc.subject.infra.basic.entity.SubjectRadio;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @Description:
 * @Author: ASL_ly
 * @Package: com.jc.subject.domin.convert
 * @Project: jc-club
 * @Date: 2024/10/23  21:26
 */
@Mapper
public interface SubjectRadioConverter {
    SubjectRadioConverter INSTANCE = Mappers.getMapper(SubjectRadioConverter.class);

    SubjectRadio subjectAnswerBoToRadio(SubjectAnswerBO subjectAnswerBO);

    List<SubjectAnswerBO> subjectRadioToAnswerBOList(List<SubjectRadio> subjectRadioList);
}
